#div1{
	height: 50px;
	background-color: blue;
}

@media only screen and (min-width: 500px) {
		#div1{
		height: 50px;
		background-color: red;
	}
}

@media only screen and (min-width: 500px) and (max-width: 640px) {
	#div1{
		height: 50px;
		background-color: yellow;
	}
}
